<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>大卫雷文案件系统</title>
    <link rel="stylesheet" href="/static/css/normalize.css">
	<link rel="stylesheet" href="/static/css/add.css">
	<link rel="stylesheet" href="/static/css/color-style.css">
	<link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <script type="text/javascript" src="/static/js/jquery-1.11.1.min.js"></script>
</head>
<body>
	<div class="form-box">
		<div class="top-bar">
			<h5 class="nav-title">添加管理员</h5>
			<div class="button-container">
				<button type="button" class="button -green center" style="width: 60px; height: 28px; line-height: 10px; font-size: 13px;">返回</button>
			</div>
		</div>
		<form action="{:Url('users/add')}" method="post">
		<div class="batch-table">
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for=""><span class="red-color">*</span>用户名称：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="user_name" placeholder="请输入用户名称" class="input-one">
					<span>（必填，作为登陆时使用，建议用NathanDu格式；）</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="" class="red-color">提醒：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<span class="red-color">用户名为必填项，用户登陆名称为用户英文名+姓的组合</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for=""><span class="red-color">*</span>用户密码：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="password" name="pass_word" placeholder="请输入用户密码" class="input-one" value="666666">
					<span>（必填，默认密码666666）</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">用户名称( 中文 )：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="real_name" placeholder="请输入用户名称( 中文 )" class="input-one">
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for=""><span class="red-color">*</span>用户职务：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<select name="auth">
						{foreach $auth_model as $k => $v}
						<option value="{$v.id}">{$v.auth_name}</option>
						{/foreach}
					</select>
					<span>（必填）</span>
				</div>
				<div class="clear"></div>
			</div>

			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">性别：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<select name="sex">
						<option value="1">男</option>
						<option value="2">女</option>
					</select>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">出生地区：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="region" placeholder="请输入出生地区" class="input-one">
					<span>（例如：出生地及国籍）</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">教育程度：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="education" placeholder="请输入教育程度" class="input-one">
					<span>（例如：专科、本科、硕士、博士等）</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">联系电话：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="phone" placeholder="请输入联系电话" class="input-one">
					<span>（例如：座机号码或电话号码）</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">用户邮箱：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="text" name="email" placeholder="请输入用户邮箱" class="input-one">
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					<label for="">是否激活：</label>
				</div>
				<div class="aps-grid-col-lg-18">
					<input type="radio" name="activated" value="2"> 锁定 &nbsp;
					<input type="radio" checked="checked" name="activated" value="1"> 激活
				</div>
				<div class="clear"></div>
			</div>
			<div class="aps-grid-row">
				<div class="aps-grid-col">
					
				</div>
				<div class="aps-grid-col-lg-18">
					<div class="button-container">
						<button type="submit" onclick="javascript:return confirm('您确认要提交表单吗？');" class='button -green center'>完成提交</div>
					</div>
				</div>
				<div class="clear"></div>
			</div>
			</form>
		</div>
	</div>
</body>
</html>